(function(TYPES,typeId){
    function my_e(){
        var that = this;
        this.run=function(len1,len2){
            var k = 0;
            var my_c = ME.run(len1);
            my_c.onComplete=function(result){
                var my_a = result;
                var my_d = ME.run(len2);
                my_d.onComplete=function(result){
                    var my_b = result;
                    if (my_a < my_b) {
                        var a = 1;
                        k+=a;
                        var b = 2;
                        k+=b;
                    } else {
                        var c = 3;
                        k+=c;
                    };
                    var l = 1;
                    k+=l;
                    that.onComplete(k);
                }
            }
        }
        this.onComplete=function(result){
            return result;
        }
    }    TYPES.registerType(typeId,my_e);
})(RULES,"test15-1");
